//
//  ViewController.m
//  Totst
//
//  Created by xingshuai on 2020/11/18.
//

#import "ViewController.h"

#import "MBProgressHUD+XSTostView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor orangeColor];
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    //[MBProgressHUD showMessage:@"再点打断腿子"];
    [MBProgressHUD showMessage:@"good" toView:self.view];
//
//    [MBProgressHUD showError:@"出错了啊!"];
//
//    [MBProgressHUD showSuccess:@"成功了!"];
//
//    [MBProgressHUD showWarning:@"警告注意!"];
//
//    [MBProgressHUD showMessageWithImageName:@"MBHUD_Info" message:@"哈哈哈！"];
//
//    MBProgressHUD *hud = [MBProgressHUD showActivityMessage:@"加载中..."];
//    [hud hideAnimated:YES afterDelay:3];
//
    
    
}


@end
